class RolesController < ApplicationController
  active_scaffold :role
  active_scaffold :role do |config|
    config.label = "roles"
    config.columns = [:name, :remark]
    list.sorting = {:name => 'ASC'}
    columns[:name].label = "角色"
    columns[:remark].label = "备注"
  end
end
